<?php declare(strict_types=1);

namespace App\Services\ElectronicSignature\Strategy;

//电子签名流程-接口
use App\Models\Store;
use App\Vo\ResultVo;

interface ElectronicSignatureInterface
{

    //getAPI信息
    public function getApi(): string;
    //申请开户

    /**
     * @param string $personType "1" 个人 "2" 个体户 "3" 企业
     * @return ResultVo
     */
    public function open(Store $store): ResultVo;

    //发送验证码
    public function sms(array $param): ResultVo;

    //创建合同
    public function createContract(string $code, array $params = []): ResultVo;

    //签署合同
    public function agreeContract(array $params): ResultVo;

    //合同查询
    public function queryContract(array $params): ResultVo;

    //合同下载
    public function downloadContract(array $params): ResultVo;


}






